home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech® Magazine / Volume 04 - 1988 / 04.09 Sep 88 / PopMenus Source / PopMenuCDEF.r < prev    next >
Encoding:
Text File  |  1988-07-28  |  800 b   |  27 lines  |  [TEXT/MPS ]

  1. /*****************************************************
  2. Pop-up Menu Control "Rez" File Constants
  3.  
  4. '#include' this file in any Rez source files that use
  5.     pop-up menu controls.
  6. *****************************************************/
  7.  
  8. /* CDEF's resource ID*/
  9. #define pmCDEFResID        3
  10.  
  11. /* standard pop-up menu control procID     */
  12. #define    popMenuProc       (pmCDEFResID * 16)
  13.  
  14. /* VARIATION CODE MODIFIERS: */
  15. #define    mUnused        1    /* allow sub-menus    */
  16. #define    mRes            2    /* add res names    */
  17. #define    mCheck        4    /* check menu item    */
  18. #define    mKey            8    /* reserved         */
  19.  
  20. /* parent of a sub-menu     */
  21. #define    parent        "\$1B"    
  22.  
  23. /* MARK CHARACTERS */
  24. #define    cmdChar        "\$11"    /* command mark    */
  25. #define    checkChar        "\$12"    /* check mark        */
  26. #define    diamondChar    "\$13"    /* diamond mark    */
  27. #define    appleChar        "\$14"    /* apple mark        */